<#macro customScript></#macro> 
<#macro layout clickA="" scriptInfo=customScript>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
	<!-- start: Meta -->
	<meta charset="utf-8">
	<title>配置界面</title>
	<meta name="description" content="配置界面">
	<meta name="author" content="张弛">
	<!-- end: Meta -->
	
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->
	
	<!-- start: CSS -->
	<link id="bootstrap-style" href="${ctx}/css/bootstrap.min.css" rel="stylesheet">
	<link href="${ctx}/css/bootstrap-responsive.min.css" rel="stylesheet">
	<link id="base-style" href="${ctx}/css/style.css" rel="stylesheet">
	<link id="base-style-responsive" href="${ctx}/css/style-responsive.css" rel="stylesheet">
	<!-- end: CSS -->

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<link id="ie-style" href="${ctx}/css/ie.css" rel="stylesheet">
	<![endif]-->
	
	<!--[if IE 9]>
		<link id="ie9style" href="${ctx}/css/ie9.css" rel="stylesheet">
	<![endif]-->
		
	<!-- start: Favicon -->
	<link rel="shortcut icon" href="${ctx}/img/favicon.ico">
	<!-- end: Favicon -->
</head>
<body>
		<!-- start: Header -->
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a class="brand" href="${ctx}/admin/index"><span>管理页面</span></a>
								
				<!-- start: Header Menu -->
				<div class="nav-no-collapse header-nav">
					<ul class="nav pull-right">
						<li>
							<a class="btn" href="#">
								<i class="halflings-icon white wrench"></i>
							</a>
						</li>
						<!-- start: User Dropdown -->
						<li class="dropdown">
							<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
								<i class="halflings-icon white user"></i> Admin
								<span class="caret"></span>
							</a>
							<ul class="dropdown-menu">
								<li class="dropdown-menu-title">
 									<span>账号设置</span>
								</li>
								<li><a href="#"><i class="halflings-icon user"></i> Profile</a></li>
								<li><a href="${ctx}/admin/login"><i class="halflings-icon off"></i>退出</a></li>
							</ul>
						</li>
						<!-- end: User Dropdown -->
					</ul>
				</div>
				<!-- end: Header Menu -->
				
			</div>
		</div>
	</div>
	<!-- start: Header -->
	
		<div class="container-fluid-full">
			<div class="row-fluid">
				
			<!-- start: Main Menu -->
				<div id="sidebar-left" class="span2">
					<div class="nav-collapse sidebar-nav">
						<ul class="nav nav-tabs nav-stacked main-menu">
							<li>
								<a class="dropmenu" href="#"><i class="icon-folder-close-alt"></i><span class="hidden-tablet"> 功能设置</span></a>
								<ul>
									<li id="configPage"><a href="${ctx}/config"><i class="icon-bar-chart"></i><span class="hidden-tablet">配置界面</span></a></li>
									<li><a href="ui.html"><i class="icon-eye-open"></i><span class="hidden-tablet">预览界面</span></a></li>
								</ul>	
							</li>
						</ul>
					</div>
				</div>
			<!-- end: Main Menu -->
			
				<noscript>
					<div class="alert alert-block span10">
						<h4 class="alert-heading">警告!</h4>
						<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
					</div>
				</noscript>
				
				<!-- start: Content -->
				<div id="content" class="span10">
					<#nested>
				</div><!--/#content.span10--><!--/.fluid-container-->
				<!-- end: Content -->
				
			</div><!--/row-fluid-->
		</div><!--/.fluid-container-->
		
		<div class="modal hide fade" id="myModal">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal">×</button>
				<h3>设置</h3>
			</div>
			<div class="modal-body">
				<p>这里可进行配置...</p>
			</div>
			<div class="modal-footer">
				<a href="#" class="btn" data-dismiss="modal">关闭</a>
				<a href="#" class="btn btn-primary">保存更改</a>
			</div>
		</div>
		
		<div class="clearfix"></div>
		<footer>
			<p>
				<span style="text-align:center;">&copy; 2015 <a href="http://bank.fahaicc.com/" alt="银行监控">银行监控</a></span>
			</p>
		</footer>
	</div>
</body>
	<!-- start: JavaScript-->
		<script src="${ctx}/js/jquery-1.9.1.min.js"></script>
		<script src="${ctx}/js/jquery-migrate-1.0.0.min.js"></script>
		<script src="${ctx}/js/jquery-ui-1.10.0.custom.min.js"></script>
		<script src="${ctx}/js/jquery.ui.touch-punch.js"></script>
		<script src="${ctx}/js/modernizr.js"></script>
		<script src="${ctx}/js/bootstrap.min.js"></script>
		<script src="${ctx}/js/jquery.cookie.js"></script>
		<script src='${ctx}/js/fullcalendar.min.js'></script>
		<script src='${ctx}/js/jquery.dataTables.min.js'></script>
		<script src="${ctx}/js/excanvas.js"></script>
		<script src="${ctx}/js/jquery.flot.js"></script>
		<script src="${ctx}/js/jquery.flot.pie.js"></script>
		<script src="${ctx}/js/jquery.flot.stack.js"></script>
		<script src="${ctx}/js/jquery.flot.resize.min.js"></script>
		<script src="${ctx}/js/jquery.chosen.min.js"></script>
		<script src="${ctx}/js/jquery.uniform.min.js"></script>
		<script src="${ctx}/js/jquery.cleditor.min.js"></script>
		<script src="${ctx}/js/jquery.noty.js"></script>
		<script src="${ctx}/js/jquery.elfinder.min.js"></script>
		<script src="${ctx}/js/jquery.raty.min.js"></script>
		<script src="${ctx}/js/jquery.iphone.toggle.js"></script>
		<script src="${ctx}/js/jquery.uploadify-3.1.min.js"></script>
		<script src="${ctx}/js/jquery.gritter.min.js"></script>
		<script src="${ctx}/js/jquery.imagesloaded.js"></script>
		<script src="${ctx}/js/jquery.masonry.min.js"></script>
		<script src="${ctx}/js/jquery.knob.modified.js"></script>
		<script src="${ctx}/js/jquery.sparkline.min.js"></script>
		<script src="${ctx}/js/counter.js"></script>
		<script src="${ctx}/js/retina.js"></script>
		<script src="${ctx}/js/custom.js"></script>
	<!-- end: JavaScript-->

	<script><@scriptInfo/></script>
	<script>
		$(document).ready(function(){
			//展开传入 li id的节点
			var clickA = "${clickA}";
			if(clickA)
			 $("#"+clickA).addClass('active').parent('ul').css('display','block');
		});
	</script>
</html>
</#macro>
